<template>
    <div id="footer">
        <div class="w-footer wrapper">
            <div class="f-header">
                <ul>
                    <li class="nav-item">
                        <span class="iconfont">&#xe61d;</span>
                        <span>高品质配件 给您放心品质</span>
                    </li>
                    <li class="nav-item">
                        <span class="el-icon-medal-1"></span>
                        <span>修好付费 无隐形消费</span>
                    </li>
                    <li class="nav-item">
                        <span class="iconfont">&#xe646;</span>
                        <span>当面维修 无维修猫腻</span>
                    </li>
                    <li class="nav-item">
                        <span class="iconfont">&#xe859;</span>
                        <span>全国联保 售后无忧</span>
                    </li>
                </ul>
            </div>
            <div class="f-footer">
                <div class="footer-item" v-for="item in footerList" :key="item.id">
                    <p class="item-tittle">{{ item.title }}</p>
                        <ul>
                            <li class="item" v-for="i in item.lists" :key="i">
                            <el-link href="javascipt;">{{ i }}</el-link>
                            </li>
                        </ul>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
  data () {
    return {
      // 底部
      footerList: [
        { id: 1, title: '关于我们', lists: ['了解我们', '加入我们', '机密学堂', '维修问答', '资质证照'] },
        { id: 2, title: '服务相关', lists: ['隐私政策', '服务流程', '服务监督', '服务协议', '投诉反馈', '常见问题'] },
        { id: 3, title: '合作&招募', lists: ['商务合作', '企业福利', '合伙人招募', '工程师招募'] },
        { id: 4, title: '关注我们', lists: ['微信小程序', '支付宝小程序'] }
      ]
    }
  }

}
</script>

<style lang="less" scoped>
#footer{
    background-color: #fff;
    .f-header{
        margin: 30px auto;
        padding-bottom: 30px;
        border-bottom: 1px solid #c5c5c5;
       ul{
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
            .nav-item{
                height: 30px;
                line-height: 30px;
                font-size: 18px;
                color: #333333;
                .el-icon-medal-1,
                .iconfont{
                    margin-right: 5px;
                    font-size: 24px;
                    color: #ff5b2c;
                }
            }
       }

    }
    .f-footer{
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        .footer-item{
            .item-tittle{
                font-size: 18px;
                color: #333333;
            }
            .item{
                line-height: 30px;
                color: #777777;
                font-size: 14px;
            }
            .item:hover{
                    color: #ff5b2c;
                }
        }
    }

}
</style>
